<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hashcat-3.201: H:/TDDownload/Hashcat v3.20/hashcat-3.201/src/event.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">hashcat-3.201
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_06fe396e3e859736df6d43ad26baa72e.html">hashcat-3.201</a></li><li class="navelem"><a class="el" href="dir_9ce3dfc5d638c7f8b2c4ec0f6627771b.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">event.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;common.h&quot;</code><br />
<code>#include &quot;types.h&quot;</code><br />
<code>#include &quot;thread.h&quot;</code><br />
<code>#include &quot;event.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for event.c:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c__incl.gif" border="0" usemap="#_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2event_8c" alt=""/></div>
<map name="_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2event_8c" id="_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2event_8c">
<area shape="rect"  title=" " alt="" coords="109,5,272,61"/>
<area shape="rect"  title=" " alt="" coords="5,109,88,136"/>
<area shape="rect"  title=" " alt="" coords="113,109,178,136"/>
<area shape="rect"  title=" " alt="" coords="203,109,272,136"/>
<area shape="rect"  title=" " alt="" coords="297,109,359,136"/>
</map>
</div>
</div>
<p><a href="event_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ad5a30ac9dc4301540e19643500eb78e4"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a> (const char *fmt, va_list ap, char *s, const size_t sz) __attribute__((format(printf</td></tr>
<tr class="separator:ad5a30ac9dc4301540e19643500eb78e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6221c6caa1d2069ad1c3103f0b013ef7"><td class="memItemLeft" align="right" valign="top">static int void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a> (const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)</td></tr>
<tr class="separator:a6221c6caa1d2069ad1c3103f0b013ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a877ef3a9a9b656d3be748c75c5e29ec4"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#a877ef3a9a9b656d3be748c75c5e29ec4">event_log_info_nn</a> (hashcat_ctx_t *hashcat_ctx, const char *fmt,...)</td></tr>
<tr class="separator:a877ef3a9a9b656d3be748c75c5e29ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae538bdc88c1a895fbe9d31f11f6db6c1"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#ae538bdc88c1a895fbe9d31f11f6db6c1">event_log_warning_nn</a> (hashcat_ctx_t *hashcat_ctx, const char *fmt,...)</td></tr>
<tr class="separator:ae538bdc88c1a895fbe9d31f11f6db6c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7594b6e0e74d2255c3306c8ddf68b47"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#aa7594b6e0e74d2255c3306c8ddf68b47">event_log_error_nn</a> (hashcat_ctx_t *hashcat_ctx, const char *fmt,...)</td></tr>
<tr class="separator:aa7594b6e0e74d2255c3306c8ddf68b47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00ca24c499c2bd38b9fb1fcc3308fbf2"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#a00ca24c499c2bd38b9fb1fcc3308fbf2">event_log_info</a> (hashcat_ctx_t *hashcat_ctx, const char *fmt,...)</td></tr>
<tr class="separator:a00ca24c499c2bd38b9fb1fcc3308fbf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10cc0b2c8645313456053b9427b6e802"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#a10cc0b2c8645313456053b9427b6e802">event_log_warning</a> (hashcat_ctx_t *hashcat_ctx, const char *fmt,...)</td></tr>
<tr class="separator:a10cc0b2c8645313456053b9427b6e802"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab419d8d7e9b12e78980ed9f17bdd5ed5"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#ab419d8d7e9b12e78980ed9f17bdd5ed5">event_log_error</a> (hashcat_ctx_t *hashcat_ctx, const char *fmt,...)</td></tr>
<tr class="separator:ab419d8d7e9b12e78980ed9f17bdd5ed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15a670f94d03c6e5d9a8bd45c3915889"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#a15a670f94d03c6e5d9a8bd45c3915889">event_ctx_init</a> (hashcat_ctx_t *hashcat_ctx)</td></tr>
<tr class="separator:a15a670f94d03c6e5d9a8bd45c3915889"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebd1feee2d3eed3997dca9d46614abe2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event_8c.html#aebd1feee2d3eed3997dca9d46614abe2">event_ctx_destroy</a> (hashcat_ctx_t *hashcat_ctx)</td></tr>
<tr class="separator:aebd1feee2d3eed3997dca9d46614abe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a6221c6caa1d2069ad1c3103f0b013ef7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6221c6caa1d2069ad1c3103f0b013ef7">&#9670;&nbsp;</a></span>event_call()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int void event_call </td>
          <td>(</td>
          <td class="paramtype">const u32&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00013">13</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;{</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;  <span class="keywordtype">bool</span> is_log = <span class="keyword">false</span>;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <span class="keywordflow">switch</span> (<span class="keywordtype">id</span>)</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;  {</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <span class="keywordflow">case</span> EVENT_LOG_INFO:    is_log = <span class="keyword">true</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <span class="keywordflow">case</span> EVENT_LOG_WARNING: is_log = <span class="keyword">true</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keywordflow">case</span> EVENT_LOG_ERROR:   is_log = <span class="keyword">true</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;  }</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;  <span class="keywordflow">if</span> (is_log == <span class="keyword">false</span>)</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;  {</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    hc_thread_mutex_lock (event_ctx-&gt;mux_event);</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;  }</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;  hashcat_ctx-&gt;event (<span class="keywordtype">id</span>, hashcat_ctx, buf, len);</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;  <span class="keywordflow">if</span> (is_log == <span class="keyword">false</span>)</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;  {</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    hc_thread_mutex_unlock (event_ctx-&gt;mux_event);</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;  }</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;  <span class="comment">// add more back logs in case user wants to access them</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;  <span class="keywordflow">if</span> (is_log == <span class="keyword">false</span>)</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;  {</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = MAX_OLD_EVENTS - 1; i &gt;= 1; i--)</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    {</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;      memcpy (event_ctx-&gt;old_buf[i], event_ctx-&gt;old_buf[i - 1], event_ctx-&gt;old_len[i - 1]);</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;      event_ctx-&gt;old_len[i] = event_ctx-&gt;old_len[i - 1];</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    }</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordflow">if</span> (buf)</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    {</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;      memcpy (event_ctx-&gt;old_buf[0], buf, len);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    }</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    event_ctx-&gt;old_len[0] = len;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  }</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="event_8c_source.html#l00168">event_log_error()</a>, <a class="el" href="event_8c_source.html#l00105">event_log_error_nn()</a>, <a class="el" href="event_8c_source.html#l00126">event_log_info()</a>, <a class="el" href="event_8c_source.html#l00063">event_log_info_nn()</a>, <a class="el" href="event_8c_source.html#l00147">event_log_warning()</a>, and <a class="el" href="event_8c_source.html#l00084">event_log_warning_nn()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_a6221c6caa1d2069ad1c3103f0b013ef7_icgraph.gif" border="0" usemap="#event_8c_a6221c6caa1d2069ad1c3103f0b013ef7_icgraph" alt=""/></div>
<map name="event_8c_a6221c6caa1d2069ad1c3103f0b013ef7_icgraph" id="event_8c_a6221c6caa1d2069ad1c3103f0b013ef7_icgraph">
<area shape="rect"  title=" " alt="" coords="736,1148,815,1175"/>
<area shape="rect"  href="event_8c.html#ab419d8d7e9b12e78980ed9f17bdd5ed5" title=" " alt="" coords="559,1072,669,1099"/>
<area shape="rect"  href="event_8c.html#aa7594b6e0e74d2255c3306c8ddf68b47" title=" " alt="" coords="549,1123,679,1149"/>
<area shape="rect"  href="event_8c.html#a00ca24c499c2bd38b9fb1fcc3308fbf2" title=" " alt="" coords="563,1173,665,1200"/>
<area shape="rect"  href="event_8c.html#a877ef3a9a9b656d3be748c75c5e29ec4" title=" " alt="" coords="552,1224,676,1251"/>
<area shape="rect"  href="event_8c.html#a10cc0b2c8645313456053b9427b6e802" title=" " alt="" coords="551,499,677,525"/>
<area shape="rect"  href="event_8c.html#ae538bdc88c1a895fbe9d31f11f6db6c1" title=" " alt="" coords="540,1275,688,1301"/>
<area shape="rect"  href="affinity_8c.html#a664f40010a232a9b7a6621128f0988d2" title=" " alt="" coords="313,275,425,301"/>
<area shape="rect"  href="combinator_8c.html#a195623f28a518e91120db41b0c99665e" title=" " alt="" coords="301,56,436,83"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="60,56,143,83"/>
<area shape="rect"  href="cpu__crc32_8c.html#a39546164f0fef90ab2b9683bdc2aac6b" title=" " alt="" coords="327,376,410,403"/>
<area shape="rect"  href="debugfile_8c.html#a60c0a245b9b00da84b0121248645560b" title=" " alt="" coords="320,427,417,453"/>
<area shape="rect"  href="dictstat_8c.html#ae37d0c9510bce4dcbed76a83048228b8" title=" " alt="" coords="324,477,413,504"/>
<area shape="rect"  href="dictstat_8c.html#af5372a3c8364682e3332998cf9ab1016" title=" " alt="" coords="320,528,417,555"/>
<area shape="rect"  href="dictstat_8c.html#a209f066c1a08c9a01d809f89b176627c" title=" " alt="" coords="319,579,418,605"/>
<area shape="rect"  href="dictstat_8c.html#ad707af69c0b71bc9105b74818511c193" title=" " alt="" coords="311,629,426,656"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="345,680,392,707"/>
<area shape="rect"  href="folder_8c.html#a6685756c6c027b0fb21b7b357326b358" title=" " alt="" coords="309,731,428,757"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="325,781,413,808"/>
<area shape="rect"  href="hashes_8c.html#a5c95202be7d166a6346b342145ed9b1c" title=" " alt="" coords="327,832,410,859"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="313,883,424,909"/>
<area shape="rect"  href="hashes_8c.html#aa009c18f9bedd6179e77e24c5752807e" title=" " alt="" coords="301,5,436,32"/>
<area shape="rect"  href="hwmon_8c.html#abf031f4b5527147837b47c9209165bf2" title=" " alt="" coords="284,1035,453,1077"/>
<area shape="rect"  href="hwmon_8c.html#a79da2dd855f6ed0ee79131d37d0c5d94" title=" " alt="" coords="10,943,193,985"/>
<area shape="rect"  href="hwmon_8c.html#ac22c5509e918ca08f2680959f93004ea" title=" " alt="" coords="8,1012,195,1039"/>
<area shape="rect"  href="hwmon_8c.html#a1a417ff88601c42ddfb661dcff8792b5" title=" " alt="" coords="10,1067,193,1109"/>
<area shape="rect"  href="hwmon_8c.html#aed06d94b394b9d337dc315b753551c5b" title=" " alt="" coords="5,1142,197,1183"/>
<area shape="rect"  href="hwmon_8c.html#a8fc37f1c9fe206852a6145e6c82eb4b8" title=" " alt="" coords="269,1203,469,1229"/>
<area shape="rect"  href="hwmon_8c.html#a82ca0fe7d394387eadba78ff2819824e" title=" " alt="" coords="267,1253,471,1280"/>
<area shape="rect"  href="hwmon_8c.html#a699792f4b9ba5a79acd08ed716c5a897" title=" " alt="" coords="269,1304,469,1331"/>
<area shape="rect"  href="hwmon_8c.html#a26d3701d98bd9b7d5ad3499362d2edb0" title=" " alt="" coords="269,1355,468,1397"/>
<area shape="rect"  href="hwmon_8c.html#a6aef6887491889fdfab6ab46db98ee7d" title=" " alt="" coords="302,1421,435,1448"/>
<area shape="rect"  href="hwmon_8c.html#a012ebc33285765b95b7e559cabceb91a" title=" " alt="" coords="282,1472,455,1499"/>
<area shape="rect"  href="hwmon_8c.html#a4eb9af633ed1b1f5731fff8323bc089c" title=" " alt="" coords="264,1523,473,1549"/>
<area shape="rect"  href="hwmon_8c.html#a50fedbf40d1fc297cbb7331c636b9d5b" title=" " alt="" coords="261,1574,476,1615"/>
<area shape="rect"  href="hwmon_8c.html#a403a7e1d1951649e53249fbe0363490a" title=" " alt="" coords="245,1640,492,1667"/>
<area shape="rect"  href="hwmon_8c.html#a9f1ca4c7d56fbefd0b9c304064a5ea12" title=" " alt="" coords="270,1691,467,1733"/>
<area shape="rect"  href="hwmon_8c.html#ae961ed0f2c1248c83eb7754c0887d17b" title=" " alt="" coords="253,1757,485,1798"/>
<area shape="rect"  href="hwmon_8c.html#a5d3d3c4d19fc89d01ce1993515f5b03e" title=" " alt="" coords="255,1823,483,1849"/>
<area shape="rect"  href="hwmon_8c.html#a632a47ce77f15a62690d2317162d2b19" title=" " alt="" coords="245,1874,492,1915"/>
<area shape="rect"  href="hwmon_8c.html#af3e380535c42bc7b221b2ba6ce48adf3" title=" " alt="" coords="269,1939,468,1981"/>
<area shape="rect"  href="hwmon_8c.html#a618cc27692390960b826db2c2a7a5be7" title=" " alt="" coords="263,2005,474,2046"/>
<area shape="rect"  href="hwmon_8c.html#a445eaf13c7f134df6fc7a34496d2b287" title=" " alt="" coords="263,2070,474,2111"/>
<area shape="rect"  href="hwmon_8c.html#a0d1c79334d9c31d3f8816a598fcfc32d" title=" " alt="" coords="263,2135,474,2177"/>
<area shape="rect"  href="hwmon_8c.html#aa76a031410cf4c77ac4894a305487455" title=" " alt="" coords="301,2201,437,2228"/>
<area shape="rect"  href="hwmon_8c.html#ac086f2e6a7de343d60fcfbb4e47f17b7" title=" " alt="" coords="304,2252,433,2279"/>
<area shape="rect"  href="hwmon_8c.html#a05a87a40e8a176e17630314eb2b110c0" title=" " alt="" coords="265,2303,473,2329"/>
<area shape="rect"  href="hwmon_8c.html#aa13cd5440062703518115e8fd666102e" title=" " alt="" coords="251,107,486,133"/>
<area shape="rect"  href="hwmon_8c.html#ac8fe02fc1ec7bef560ce9bb358b87539" title=" " alt="" coords="261,158,476,199"/>
<area shape="rect"  href="hwmon_8c.html#a798e3ccdbd5f811ac24a47ad51bf6257" title=" " alt="" coords="260,224,477,251"/>
</map>
</div>

</div>
</div>
<a id="aebd1feee2d3eed3997dca9d46614abe2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebd1feee2d3eed3997dca9d46614abe2">&#9670;&nbsp;</a></span>event_ctx_destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void event_ctx_destroy </td>
          <td>(</td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00200">200</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;{</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;  hc_thread_mutex_delete (event_ctx-&gt;mux_event);</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="hashcat_8c_source.html#l01134">hashcat_session_destroy()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_aebd1feee2d3eed3997dca9d46614abe2_icgraph.gif" border="0" usemap="#event_8c_aebd1feee2d3eed3997dca9d46614abe2_icgraph" alt=""/></div>
<map name="event_8c_aebd1feee2d3eed3997dca9d46614abe2_icgraph" id="event_8c_aebd1feee2d3eed3997dca9d46614abe2_icgraph">
<area shape="rect"  title=" " alt="" coords="323,5,449,32"/>
<area shape="rect"  href="hashcat_8c.html#aac7de5dfb85c0aa9bccebf9782855ffa" title=" " alt="" coords="104,5,275,32"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,5,56,32"/>
</map>
</div>

</div>
</div>
<a id="a15a670f94d03c6e5d9a8bd45c3915889"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15a670f94d03c6e5d9a8bd45c3915889">&#9670;&nbsp;</a></span>event_ctx_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int event_ctx_init </td>
          <td>(</td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00189">189</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;{</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;  memset (event_ctx, 0, <span class="keyword">sizeof</span> (event_ctx_t));</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;  hc_thread_mutex_init (event_ctx-&gt;mux_event);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="hashcat_8c_source.html#l00833">hashcat_session_init()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_a15a670f94d03c6e5d9a8bd45c3915889_icgraph.gif" border="0" usemap="#event_8c_a15a670f94d03c6e5d9a8bd45c3915889_icgraph" alt=""/></div>
<map name="event_8c_a15a670f94d03c6e5d9a8bd45c3915889_icgraph" id="event_8c_a15a670f94d03c6e5d9a8bd45c3915889_icgraph">
<area shape="rect"  title=" " alt="" coords="296,5,397,32"/>
<area shape="rect"  href="hashcat_8c.html#a9f3f1b757bdc2a874b4bb0dc657bde1d" title=" " alt="" coords="104,5,248,32"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,5,56,32"/>
</map>
</div>

</div>
</div>
<a id="ad5a30ac9dc4301540e19643500eb78e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5a30ac9dc4301540e19643500eb78e4">&#9670;&nbsp;</a></span>event_log()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int event_log </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">va_list&#160;</td>
          <td class="paramname"><em>ap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>sz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Author......: See docs/credits.txt License.....: MIT </p>

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00058">58</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;{</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keywordflow">return</span> vsnprintf (s, sz, fmt, ap);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="event_8c_source.html#l00168">event_log_error()</a>, <a class="el" href="event_8c_source.html#l00105">event_log_error_nn()</a>, <a class="el" href="event_8c_source.html#l00126">event_log_info()</a>, <a class="el" href="event_8c_source.html#l00063">event_log_info_nn()</a>, <a class="el" href="event_8c_source.html#l00147">event_log_warning()</a>, and <a class="el" href="event_8c_source.html#l00084">event_log_warning_nn()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_ad5a30ac9dc4301540e19643500eb78e4_icgraph.gif" border="0" usemap="#event_8c_ad5a30ac9dc4301540e19643500eb78e4_icgraph" alt=""/></div>
<map name="event_8c_ad5a30ac9dc4301540e19643500eb78e4_icgraph" id="event_8c_ad5a30ac9dc4301540e19643500eb78e4_icgraph">
<area shape="rect"  title=" " alt="" coords="736,1148,812,1175"/>
<area shape="rect"  href="event_8c.html#ab419d8d7e9b12e78980ed9f17bdd5ed5" title=" " alt="" coords="559,1072,669,1099"/>
<area shape="rect"  href="event_8c.html#aa7594b6e0e74d2255c3306c8ddf68b47" title=" " alt="" coords="549,1123,679,1149"/>
<area shape="rect"  href="event_8c.html#a00ca24c499c2bd38b9fb1fcc3308fbf2" title=" " alt="" coords="563,1173,665,1200"/>
<area shape="rect"  href="event_8c.html#a877ef3a9a9b656d3be748c75c5e29ec4" title=" " alt="" coords="552,1224,676,1251"/>
<area shape="rect"  href="event_8c.html#a10cc0b2c8645313456053b9427b6e802" title=" " alt="" coords="551,499,677,525"/>
<area shape="rect"  href="event_8c.html#ae538bdc88c1a895fbe9d31f11f6db6c1" title=" " alt="" coords="540,1275,688,1301"/>
<area shape="rect"  href="affinity_8c.html#a664f40010a232a9b7a6621128f0988d2" title=" " alt="" coords="313,275,425,301"/>
<area shape="rect"  href="combinator_8c.html#a195623f28a518e91120db41b0c99665e" title=" " alt="" coords="301,56,436,83"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="60,56,143,83"/>
<area shape="rect"  href="cpu__crc32_8c.html#a39546164f0fef90ab2b9683bdc2aac6b" title=" " alt="" coords="327,376,410,403"/>
<area shape="rect"  href="debugfile_8c.html#a60c0a245b9b00da84b0121248645560b" title=" " alt="" coords="320,427,417,453"/>
<area shape="rect"  href="dictstat_8c.html#ae37d0c9510bce4dcbed76a83048228b8" title=" " alt="" coords="324,477,413,504"/>
<area shape="rect"  href="dictstat_8c.html#af5372a3c8364682e3332998cf9ab1016" title=" " alt="" coords="320,528,417,555"/>
<area shape="rect"  href="dictstat_8c.html#a209f066c1a08c9a01d809f89b176627c" title=" " alt="" coords="319,579,418,605"/>
<area shape="rect"  href="dictstat_8c.html#ad707af69c0b71bc9105b74818511c193" title=" " alt="" coords="311,629,426,656"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="345,680,392,707"/>
<area shape="rect"  href="folder_8c.html#a6685756c6c027b0fb21b7b357326b358" title=" " alt="" coords="309,731,428,757"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="325,781,413,808"/>
<area shape="rect"  href="hashes_8c.html#a5c95202be7d166a6346b342145ed9b1c" title=" " alt="" coords="327,832,410,859"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="313,883,424,909"/>
<area shape="rect"  href="hashes_8c.html#aa009c18f9bedd6179e77e24c5752807e" title=" " alt="" coords="301,5,436,32"/>
<area shape="rect"  href="hwmon_8c.html#abf031f4b5527147837b47c9209165bf2" title=" " alt="" coords="284,1035,453,1077"/>
<area shape="rect"  href="hwmon_8c.html#a79da2dd855f6ed0ee79131d37d0c5d94" title=" " alt="" coords="10,943,193,985"/>
<area shape="rect"  href="hwmon_8c.html#ac22c5509e918ca08f2680959f93004ea" title=" " alt="" coords="8,1012,195,1039"/>
<area shape="rect"  href="hwmon_8c.html#a1a417ff88601c42ddfb661dcff8792b5" title=" " alt="" coords="10,1067,193,1109"/>
<area shape="rect"  href="hwmon_8c.html#aed06d94b394b9d337dc315b753551c5b" title=" " alt="" coords="5,1142,197,1183"/>
<area shape="rect"  href="hwmon_8c.html#a8fc37f1c9fe206852a6145e6c82eb4b8" title=" " alt="" coords="269,1203,469,1229"/>
<area shape="rect"  href="hwmon_8c.html#a82ca0fe7d394387eadba78ff2819824e" title=" " alt="" coords="267,1253,471,1280"/>
<area shape="rect"  href="hwmon_8c.html#a699792f4b9ba5a79acd08ed716c5a897" title=" " alt="" coords="269,1304,469,1331"/>
<area shape="rect"  href="hwmon_8c.html#a26d3701d98bd9b7d5ad3499362d2edb0" title=" " alt="" coords="269,1355,468,1397"/>
<area shape="rect"  href="hwmon_8c.html#a6aef6887491889fdfab6ab46db98ee7d" title=" " alt="" coords="302,1421,435,1448"/>
<area shape="rect"  href="hwmon_8c.html#a012ebc33285765b95b7e559cabceb91a" title=" " alt="" coords="282,1472,455,1499"/>
<area shape="rect"  href="hwmon_8c.html#a4eb9af633ed1b1f5731fff8323bc089c" title=" " alt="" coords="264,1523,473,1549"/>
<area shape="rect"  href="hwmon_8c.html#a50fedbf40d1fc297cbb7331c636b9d5b" title=" " alt="" coords="261,1574,476,1615"/>
<area shape="rect"  href="hwmon_8c.html#a403a7e1d1951649e53249fbe0363490a" title=" " alt="" coords="245,1640,492,1667"/>
<area shape="rect"  href="hwmon_8c.html#a9f1ca4c7d56fbefd0b9c304064a5ea12" title=" " alt="" coords="270,1691,467,1733"/>
<area shape="rect"  href="hwmon_8c.html#ae961ed0f2c1248c83eb7754c0887d17b" title=" " alt="" coords="253,1757,485,1798"/>
<area shape="rect"  href="hwmon_8c.html#a5d3d3c4d19fc89d01ce1993515f5b03e" title=" " alt="" coords="255,1823,483,1849"/>
<area shape="rect"  href="hwmon_8c.html#a632a47ce77f15a62690d2317162d2b19" title=" " alt="" coords="245,1874,492,1915"/>
<area shape="rect"  href="hwmon_8c.html#af3e380535c42bc7b221b2ba6ce48adf3" title=" " alt="" coords="269,1939,468,1981"/>
<area shape="rect"  href="hwmon_8c.html#a618cc27692390960b826db2c2a7a5be7" title=" " alt="" coords="263,2005,474,2046"/>
<area shape="rect"  href="hwmon_8c.html#a445eaf13c7f134df6fc7a34496d2b287" title=" " alt="" coords="263,2070,474,2111"/>
<area shape="rect"  href="hwmon_8c.html#a0d1c79334d9c31d3f8816a598fcfc32d" title=" " alt="" coords="263,2135,474,2177"/>
<area shape="rect"  href="hwmon_8c.html#aa76a031410cf4c77ac4894a305487455" title=" " alt="" coords="301,2201,437,2228"/>
<area shape="rect"  href="hwmon_8c.html#ac086f2e6a7de343d60fcfbb4e47f17b7" title=" " alt="" coords="304,2252,433,2279"/>
<area shape="rect"  href="hwmon_8c.html#a05a87a40e8a176e17630314eb2b110c0" title=" " alt="" coords="265,2303,473,2329"/>
<area shape="rect"  href="hwmon_8c.html#aa13cd5440062703518115e8fd666102e" title=" " alt="" coords="251,107,486,133"/>
<area shape="rect"  href="hwmon_8c.html#ac8fe02fc1ec7bef560ce9bb358b87539" title=" " alt="" coords="261,158,476,199"/>
<area shape="rect"  href="hwmon_8c.html#a798e3ccdbd5f811ac24a47ad51bf6257" title=" " alt="" coords="260,224,477,251"/>
</map>
</div>

</div>
</div>
<a id="ab419d8d7e9b12e78980ed9f17bdd5ed5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab419d8d7e9b12e78980ed9f17bdd5ed5">&#9670;&nbsp;</a></span>event_log_error()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t event_log_error </td>
          <td>(</td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00168">168</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;{</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;  va_list ap;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;  va_start (ap, fmt);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;  event_ctx-&gt;msg_len = <a class="code" href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a> (fmt, ap, event_ctx-&gt;msg_buf, HCBUFSIZ_TINY - 1);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;  event_ctx-&gt;msg_buf[event_ctx-&gt;msg_len] = 0;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;  va_end (ap);</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;  event_ctx-&gt;msg_newline = <span class="keyword">true</span>;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;  <a class="code" href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a> (EVENT_LOG_ERROR, hashcat_ctx, NULL, 0);</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;  <span class="keywordflow">return</span> event_ctx-&gt;msg_len;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;}</div><div class="ttc" id="event_8c_html_a6221c6caa1d2069ad1c3103f0b013ef7"><div class="ttname"><a href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a></div><div class="ttdeci">static int void event_call(const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00013">event.c:13</a></div></div>
<div class="ttc" id="event_8c_html_ad5a30ac9dc4301540e19643500eb78e4"><div class="ttname"><a href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a></div><div class="ttdeci">static int event_log(const char *fmt, va_list ap, char *s, const size_t sz) __attribute__((format(printf</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00058">event.c:58</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="event_8c_source.html#l00013">event_call()</a>, and <a class="el" href="event_8c_source.html#l00058">event_log()</a>.</p>

<p class="reference">Referenced by <a class="el" href="dispatch_8c_source.html#l00256">calc()</a>, <a class="el" href="hashes_8c_source.html#l00321">check_cracked()</a>, <a class="el" href="restore_8c_source.html#l00023">check_running_process()</a>, <a class="el" href="combinator_8c_source.html#l00014">combinator_ctx_init()</a>, <a class="el" href="cpu__crc32_8c_source.html#l00080">cpu_crc32()</a>, <a class="el" href="debugfile_8c_source.html#l00082">debugfile_init()</a>, <a class="el" href="dictstat_8c_source.html#l00158">dictstat_append()</a>, <a class="el" href="dictstat_8c_source.html#l00027">dictstat_init()</a>, <a class="el" href="dictstat_8c_source.html#l00078">dictstat_read()</a>, <a class="el" href="dictstat_8c_source.html#l00114">dictstat_write()</a>, <a class="el" href="folder_8c_source.html#l00268">folder_config_init()</a>, <a class="el" href="hwmon_8c_source.html#l02327">get_adapters_num_adl()</a>, <a class="el" href="interface_8c_source.html#l15904">hashconfig_init()</a>, <a class="el" href="hashes_8c_source.html#l00442">hashes_init_stage1()</a>, <a class="el" href="opencl_8c_source.html#l00781">hc_clBuildProgram()</a>, <a class="el" href="opencl_8c_source.html#l00721">hc_clCreateBuffer()</a>, <a class="el" href="opencl_8c_source.html#l00701">hc_clCreateCommandQueue()</a>, <a class="el" href="opencl_8c_source.html#l00681">hc_clCreateContext()</a>, <a class="el" href="opencl_8c_source.html#l00799">hc_clCreateKernel()</a>, <a class="el" href="opencl_8c_source.html#l00761">hc_clCreateProgramWithBinary()</a>, <a class="el" href="opencl_8c_source.html#l00741">hc_clCreateProgramWithSource()</a>, <a class="el" href="opencl_8c_source.html#l00573">hc_clEnqueueCopyBuffer()</a>, <a class="el" href="opencl_8c_source.html#l00909">hc_clEnqueueMapBuffer()</a>, <a class="el" href="opencl_8c_source.html#l00465">hc_clEnqueueNDRangeKernel()</a>, <a class="el" href="opencl_8c_source.html#l00591">hc_clEnqueueReadBuffer()</a>, <a class="el" href="opencl_8c_source.html#l00929">hc_clEnqueueUnmapMemObject()</a>, <a class="el" href="opencl_8c_source.html#l00555">hc_clEnqueueWriteBuffer()</a>, <a class="el" href="opencl_8c_source.html#l00519">hc_clFinish()</a>, <a class="el" href="opencl_8c_source.html#l00501">hc_clFlush()</a>, <a class="el" href="opencl_8c_source.html#l00645">hc_clGetDeviceIDs()</a>, <a class="el" href="opencl_8c_source.html#l00663">hc_clGetDeviceInfo()</a>, <a class="el" href="opencl_8c_source.html#l00483">hc_clGetEventInfo()</a>, <a class="el" href="opencl_8c_source.html#l01019">hc_clGetEventProfilingInfo()</a>, <a class="el" href="opencl_8c_source.html#l00947">hc_clGetKernelWorkGroupInfo()</a>, <a class="el" href="opencl_8c_source.html#l00609">hc_clGetPlatformIDs()</a>, <a class="el" href="opencl_8c_source.html#l00627">hc_clGetPlatformInfo()</a>, <a class="el" href="opencl_8c_source.html#l00965">hc_clGetProgramBuildInfo()</a>, <a class="el" href="opencl_8c_source.html#l00983">hc_clGetProgramInfo()</a>, <a class="el" href="opencl_8c_source.html#l00873">hc_clReleaseCommandQueue()</a>, <a class="el" href="opencl_8c_source.html#l00891">hc_clReleaseContext()</a>, <a class="el" href="opencl_8c_source.html#l01037">hc_clReleaseEvent()</a>, <a class="el" href="opencl_8c_source.html#l00837">hc_clReleaseKernel()</a>, <a class="el" href="opencl_8c_source.html#l00819">hc_clReleaseMemObject()</a>, <a class="el" href="opencl_8c_source.html#l00855">hc_clReleaseProgram()</a>, <a class="el" href="opencl_8c_source.html#l00537">hc_clSetKernelArg()</a>, <a class="el" href="opencl_8c_source.html#l01001">hc_clWaitForEvents()</a>, <a class="el" href="hwmon_8c_source.html#l01636">hm_ADL_Adapter_AdapterInfo_Get()</a>, <a class="el" href="hwmon_8c_source.html#l01618">hm_ADL_Adapter_NumberOfAdapters_Get()</a>, <a class="el" href="hwmon_8c_source.html#l01600">hm_ADL_Main_Control_Create()</a>, <a class="el" href="hwmon_8c_source.html#l01582">hm_ADL_Main_Control_Destroy()</a>, <a class="el" href="hwmon_8c_source.html#l01806">hm_ADL_Overdrive5_FanSpeed_Get()</a>, <a class="el" href="hwmon_8c_source.html#l01842">hm_ADL_Overdrive5_FanSpeed_Set()</a>, <a class="el" href="hwmon_8c_source.html#l01788">hm_ADL_Overdrive5_FanSpeedInfo_Get()</a>, <a class="el" href="hwmon_8c_source.html#l01878">hm_ADL_Overdrive5_FanSpeedToDefault_Set()</a>, <a class="el" href="hwmon_8c_source.html#l01734">hm_ADL_Overdrive5_Temperature_Get()</a>, <a class="el" href="hwmon_8c_source.html#l01824">hm_ADL_Overdrive6_FanSpeed_Get()</a>, <a class="el" href="hwmon_8c_source.html#l02307">hm_ADL_Overdrive6_FanSpeed_Reset()</a>, <a class="el" href="hwmon_8c_source.html#l01860">hm_ADL_Overdrive6_FanSpeed_Set()</a>, <a class="el" href="hwmon_8c_source.html#l02094">hm_ADL_Overdrive6_PowerControl_Caps()</a>, <a class="el" href="hwmon_8c_source.html#l02269">hm_ADL_Overdrive6_TargetTemperatureData_Get()</a>, <a class="el" href="hwmon_8c_source.html#l01752">hm_ADL_Overdrive6_Temperature_Get()</a>, <a class="el" href="hwmon_8c_source.html#l02112">hm_ADL_Overdrive_Capabilities_Get()</a>, <a class="el" href="hwmon_8c_source.html#l02076">hm_ADL_Overdrive_Caps()</a>, <a class="el" href="hwmon_8c_source.html#l01770">hm_ADL_Overdrive_CurrentActivity_Get()</a>, <a class="el" href="hwmon_8c_source.html#l01974">hm_ADL_Overdrive_PowerControl_Get()</a>, <a class="el" href="hwmon_8c_source.html#l01994">hm_ADL_Overdrive_PowerControl_Set()</a>, <a class="el" href="hwmon_8c_source.html#l01956">hm_ADL_Overdrive_PowerControlInfo_Get()</a>, <a class="el" href="hwmon_8c_source.html#l02215">hm_ADL_Overdrive_State_Set()</a>, <a class="el" href="hwmon_8c_source.html#l02130">hm_ADL_Overdrive_StateInfo_Get()</a>, <a class="el" href="hwmon_8c_source.html#l02348">hm_get_adapter_index_nvapi()</a>, <a class="el" href="hwmon_8c_source.html#l02364">hm_get_adapter_index_nvml()</a>, <a class="el" href="hwmon_8c_source.html#l01131">hm_NvAPI_EnumPhysicalGPUs()</a>, <a class="el" href="hwmon_8c_source.html#l01153">hm_NvAPI_GPU_GetPerfPoliciesInfo()</a>, <a class="el" href="hwmon_8c_source.html#l01175">hm_NvAPI_GPU_GetPerfPoliciesStatus()</a>, <a class="el" href="hwmon_8c_source.html#l01197">hm_NvAPI_GPU_SetCoolerLevels()</a>, <a class="el" href="hwmon_8c_source.html#l01085">hm_NvAPI_Initialize()</a>, <a class="el" href="hwmon_8c_source.html#l01109">hm_NvAPI_Unload()</a>, <a class="el" href="hwmon_8c_source.html#l00795">hm_NVML_nvmlDeviceGetClockInfo()</a>, <a class="el" href="hwmon_8c_source.html#l00651">hm_NVML_nvmlDeviceGetCount()</a>, <a class="el" href="hwmon_8c_source.html#l00857">hm_NVML_nvmlDeviceGetCurrPcieLinkWidth()</a>, <a class="el" href="hwmon_8c_source.html#l00733">hm_NVML_nvmlDeviceGetFanSpeed()</a>, <a class="el" href="hwmon_8c_source.html#l00671">hm_NVML_nvmlDeviceGetHandleByIndex()</a>, <a class="el" href="hwmon_8c_source.html#l01005">hm_NVML_nvmlDeviceGetPowerManagementLimit()</a>, <a class="el" href="hwmon_8c_source.html#l00965">hm_NVML_nvmlDeviceGetPowerManagementLimitConstraints()</a>, <a class="el" href="hwmon_8c_source.html#l00713">hm_NVML_nvmlDeviceGetTemperature()</a>, <a class="el" href="hwmon_8c_source.html#l00815">hm_NVML_nvmlDeviceGetTemperatureThreshold()</a>, <a class="el" href="hwmon_8c_source.html#l00775">hm_NVML_nvmlDeviceGetUtilizationRates()</a>, <a class="el" href="hwmon_8c_source.html#l00985">hm_NVML_nvmlDeviceSetPowerManagementLimit()</a>, <a class="el" href="hwmon_8c_source.html#l00611">hm_NVML_nvmlInit()</a>, <a class="el" href="hwmon_8c_source.html#l00631">hm_NVML_nvmlShutdown()</a>, <a class="el" href="hwmon_8c_source.html#l00098">hm_SYSFS_get_fan_speed_current()</a>, <a class="el" href="hwmon_8c_source.html#l00363">hm_SYSFS_get_pp_dpm_mclk()</a>, <a class="el" href="hwmon_8c_source.html#l00416">hm_SYSFS_get_pp_dpm_pcie()</a>, <a class="el" href="hwmon_8c_source.html#l00310">hm_SYSFS_get_pp_dpm_sclk()</a>, <a class="el" href="hwmon_8c_source.html#l00065">hm_SYSFS_get_syspath_hwmon()</a>, <a class="el" href="hwmon_8c_source.html#l00269">hm_SYSFS_get_temperature_current()</a>, <a class="el" href="hwmon_8c_source.html#l00175">hm_SYSFS_set_fan_control()</a>, <a class="el" href="hwmon_8c_source.html#l00205">hm_SYSFS_set_fan_speed_target()</a>, <a class="el" href="hwmon_8c_source.html#l00470">hm_SYSFS_set_power_dpm_force_performance_level()</a>, <a class="el" href="hwmon_8c_source.html#l01347">hm_XNVCTRL_get_fan_control()</a>, <a class="el" href="hwmon_8c_source.html#l01451">hm_XNVCTRL_get_fan_speed_target()</a>, <a class="el" href="hwmon_8c_source.html#l01312">hm_XNVCTRL_XOpenDisplay()</a>, <a class="el" href="hwmon_8c_source.html#l04224">hwmon_ctx_destroy()</a>, <a class="el" href="hwmon_8c_source.html#l03525">hwmon_ctx_init()</a>, <a class="el" href="induct_8c_source.html#l00111">induct_ctx_destroy()</a>, <a class="el" href="induct_8c_source.html#l00025">induct_ctx_init()</a>, <a class="el" href="restore_8c_source.html#l00123">init_restore()</a>, <a class="el" href="hashcat_8c_source.html#l00055">inner2_loop()</a>, <a class="el" href="rp_8c_source.html#l00713">kernel_rules_load()</a>, <a class="el" href="logfile_8c_source.html#l00046">logfile_append()</a>, <a class="el" href="logfile_8c_source.html#l00078">logfile_init()</a>, <a class="el" href="loopback_8c_source.html#l00089">loopback_write_open()</a>, <a class="el" href="main_8c_source.html#l00634">main_monitor_temp_abort()</a>, <a class="el" href="mpsp_8c_source.html#l01134">mask_ctx_init()</a>, <a class="el" href="mpsp_8c_source.html#l01437">mask_ctx_parse_maskfile()</a>, <a class="el" href="mpsp_8c_source.html#l00149">mp_css_to_uniq_tbl()</a>, <a class="el" href="mpsp_8c_source.html#l00217">mp_expand()</a>, <a class="el" href="mpsp_8c_source.html#l00320">mp_gen_css()</a>, <a class="el" href="mpsp_8c_source.html#l00439">mp_get_truncated_mask()</a>, <a class="el" href="mpsp_8c_source.html#l00534">mp_setup_usr()</a>, <a class="el" href="opencl_8c_source.html#l00041">ocl_check_dri()</a>, <a class="el" href="opencl_8c_source.html#l00369">ocl_init()</a>, <a class="el" href="opencl_8c_source.html#l02235">opencl_ctx_devices_init()</a>, <a class="el" href="opencl_8c_source.html#l02023">opencl_ctx_init()</a>, <a class="el" href="opencl_8c_source.html#l03129">opencl_session_begin()</a>, <a class="el" href="outfile__check_8c_source.html#l00378">outcheck_ctx_destroy()</a>, <a class="el" href="outfile__check_8c_source.html#l00319">outcheck_ctx_init()</a>, <a class="el" href="hashcat_8c_source.html#l00376">outer_loop()</a>, <a class="el" href="outfile_8c_source.html#l00448">outfile_and_hashfile()</a>, <a class="el" href="outfile_8c_source.html#l00303">outfile_write_open()</a>, <a class="el" href="potfile_8c_source.html#l00143">potfile_read_open()</a>, <a class="el" href="potfile_8c_source.html#l00172">potfile_write_open()</a>, <a class="el" href="stdout_8c_source.html#l00051">process_stdout()</a>, <a class="el" href="opencl_8c_source.html#l00295">read_kernel_binary()</a>, <a class="el" href="restore_8c_source.html#l00156">read_restore()</a>, <a class="el" href="restore_8c_source.html#l00334">restore_ctx_init()</a>, <a class="el" href="opencl_8c_source.html#l01212">run_kernel()</a>, <a class="el" href="opencl_8c_source.html#l01371">run_kernel_mp()</a>, <a class="el" href="hashes_8c_source.html#l00121">save_hash()</a>, <a class="el" href="affinity_8c_source.html#l00048">set_cpu_affinity()</a>, <a class="el" href="opencl_8c_source.html#l00253">setup_device_types_filter()</a>, <a class="el" href="opencl_8c_source.html#l00214">setup_devices_filter()</a>, <a class="el" href="opencl_8c_source.html#l00175">setup_opencl_platforms_filter()</a>, <a class="el" href="mpsp_8c_source.html#l00594">sp_setup_tbl()</a>, <a class="el" href="straight_8c_source.html#l00174">straight_ctx_init()</a>, <a class="el" href="straight_8c_source.html#l00037">straight_ctx_update_loop()</a>, <a class="el" href="tuningdb_8c_source.html#l00053">tuning_db_init()</a>, <a class="el" href="user__options_8c_source.html#l00219">user_options_getopt()</a>, <a class="el" href="user__options_8c_source.html#l00356">user_options_sanity()</a>, <a class="el" href="opencl_8c_source.html#l00337">write_kernel_binary()</a>, and <a class="el" href="restore_8c_source.html#l00226">write_restore()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_ab419d8d7e9b12e78980ed9f17bdd5ed5_cgraph.gif" border="0" usemap="#event_8c_ab419d8d7e9b12e78980ed9f17bdd5ed5_cgraph" alt=""/></div>
<map name="event_8c_ab419d8d7e9b12e78980ed9f17bdd5ed5_cgraph" id="event_8c_ab419d8d7e9b12e78980ed9f17bdd5ed5_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,115,57"/>
<area shape="rect"  href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7" title=" " alt="" coords="163,5,241,32"/>
<area shape="rect"  href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4" title=" " alt="" coords="164,56,240,83"/>
</map>
</div>

</div>
</div>
<a id="aa7594b6e0e74d2255c3306c8ddf68b47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7594b6e0e74d2255c3306c8ddf68b47">&#9670;&nbsp;</a></span>event_log_error_nn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t event_log_error_nn </td>
          <td>(</td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00105">105</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;{</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  va_list ap;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  va_start (ap, fmt);</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;  event_ctx-&gt;msg_len = <a class="code" href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a> (fmt, ap, event_ctx-&gt;msg_buf, HCBUFSIZ_TINY - 1);</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  event_ctx-&gt;msg_buf[event_ctx-&gt;msg_len] = 0;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  va_end (ap);</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  event_ctx-&gt;msg_newline = <span class="keyword">false</span>;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <a class="code" href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a> (EVENT_LOG_ERROR, hashcat_ctx, NULL, 0);</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  <span class="keywordflow">return</span> event_ctx-&gt;msg_len;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;}</div><div class="ttc" id="event_8c_html_a6221c6caa1d2069ad1c3103f0b013ef7"><div class="ttname"><a href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a></div><div class="ttdeci">static int void event_call(const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00013">event.c:13</a></div></div>
<div class="ttc" id="event_8c_html_ad5a30ac9dc4301540e19643500eb78e4"><div class="ttname"><a href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a></div><div class="ttdeci">static int event_log(const char *fmt, va_list ap, char *s, const size_t sz) __attribute__((format(printf</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00058">event.c:58</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="event_8c_source.html#l00013">event_call()</a>, and <a class="el" href="event_8c_source.html#l00058">event_log()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_aa7594b6e0e74d2255c3306c8ddf68b47_cgraph.gif" border="0" usemap="#event_8c_aa7594b6e0e74d2255c3306c8ddf68b47_cgraph" alt=""/></div>
<map name="event_8c_aa7594b6e0e74d2255c3306c8ddf68b47_cgraph" id="event_8c_aa7594b6e0e74d2255c3306c8ddf68b47_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,136,57"/>
<area shape="rect"  href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7" title=" " alt="" coords="184,5,263,32"/>
<area shape="rect"  href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4" title=" " alt="" coords="185,56,261,83"/>
</map>
</div>

</div>
</div>
<a id="a00ca24c499c2bd38b9fb1fcc3308fbf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00ca24c499c2bd38b9fb1fcc3308fbf2">&#9670;&nbsp;</a></span>event_log_info()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t event_log_info </td>
          <td>(</td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00126">126</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;{</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  va_list ap;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;  va_start (ap, fmt);</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  event_ctx-&gt;msg_len = <a class="code" href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a> (fmt, ap, event_ctx-&gt;msg_buf, HCBUFSIZ_TINY - 1);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  event_ctx-&gt;msg_buf[event_ctx-&gt;msg_len] = 0;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;  va_end (ap);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  event_ctx-&gt;msg_newline = <span class="keyword">true</span>;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <a class="code" href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a> (EVENT_LOG_INFO, hashcat_ctx, NULL, 0);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="keywordflow">return</span> event_ctx-&gt;msg_len;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;}</div><div class="ttc" id="event_8c_html_a6221c6caa1d2069ad1c3103f0b013ef7"><div class="ttname"><a href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a></div><div class="ttdeci">static int void event_call(const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00013">event.c:13</a></div></div>
<div class="ttc" id="event_8c_html_ad5a30ac9dc4301540e19643500eb78e4"><div class="ttname"><a href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a></div><div class="ttdeci">static int event_log(const char *fmt, va_list ap, char *s, const size_t sz) __attribute__((format(printf</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00058">event.c:58</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="event_8c_source.html#l00013">event_call()</a>, and <a class="el" href="event_8c_source.html#l00058">event_log()</a>.</p>

<p class="reference">Referenced by <a class="el" href="terminal_8c_source.html#l00128">keypress()</a>, <a class="el" href="main_8c_source.html#l00298">main_calculated_words_base()</a>, <a class="el" href="main_8c_source.html#l00228">main_cracker_finished()</a>, <a class="el" href="main_8c_source.html#l00203">main_cracker_starting()</a>, <a class="el" href="main_8c_source.html#l00666">main_monitor_status_refresh()</a>, <a class="el" href="main_8c_source.html#l00380">main_outerloop_mainscreen()</a>, <a class="el" href="main_8c_source.html#l00370">main_potfile_all_cracked()</a>, <a class="el" href="main_8c_source.html#l00346">main_potfile_num_cracked()</a>, <a class="el" href="main_8c_source.html#l00518">main_set_kernel_power_final()</a>, <a class="el" href="main_8c_source.html#l00707">main_wordlist_cache_generate()</a>, <a class="el" href="main_8c_source.html#l00695">main_wordlist_cache_hit()</a>, <a class="el" href="terminal_8c_source.html#l00458">opencl_info()</a>, <a class="el" href="terminal_8c_source.html#l00519">opencl_info_compact()</a>, <a class="el" href="terminal_8c_source.html#l01075">status_benchmark()</a>, <a class="el" href="terminal_8c_source.html#l01046">status_benchmark_automate()</a>, <a class="el" href="terminal_8c_source.html#l00663">status_display()</a>, and <a class="el" href="terminal_8c_source.html#l00024">welcome_screen()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_a00ca24c499c2bd38b9fb1fcc3308fbf2_cgraph.gif" border="0" usemap="#event_8c_a00ca24c499c2bd38b9fb1fcc3308fbf2_cgraph" alt=""/></div>
<map name="event_8c_a00ca24c499c2bd38b9fb1fcc3308fbf2_cgraph" id="event_8c_a00ca24c499c2bd38b9fb1fcc3308fbf2_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,108,57"/>
<area shape="rect"  href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7" title=" " alt="" coords="156,5,235,32"/>
<area shape="rect"  href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4" title=" " alt="" coords="157,56,233,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_a00ca24c499c2bd38b9fb1fcc3308fbf2_icgraph.gif" border="0" usemap="#event_8c_a00ca24c499c2bd38b9fb1fcc3308fbf2_icgraph" alt=""/></div>
<map name="event_8c_a00ca24c499c2bd38b9fb1fcc3308fbf2_icgraph" id="event_8c_a00ca24c499c2bd38b9fb1fcc3308fbf2_icgraph">
<area shape="rect"  title=" " alt="" coords="2199,523,2301,549"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="1787,355,1861,381"/>
<area shape="rect"  href="main_8c.html#a9620c3b5872c1ca3d6305ec3ec455e96" title=" " alt="" coords="1264,299,1456,325"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="1521,463,1671,489"/>
<area shape="rect"  href="main_8c.html#a8c9b1c83b7606323b8301c9d23bc634f" title=" " alt="" coords="1749,624,1899,651"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="1753,558,1895,599"/>
<area shape="rect"  href="main_8c.html#a46df1c8d07283dc4798853c4ae078879" title=" " alt="" coords="1504,675,1688,701"/>
<area shape="rect"  href="main_8c.html#a7bf22ab4e7ae4fc7bb4565672944be28" title=" " alt="" coords="1278,720,1442,747"/>
<area shape="rect"  href="main_8c.html#aac920722d3578cb5aec25c2c9879ef31" title=" " alt="" coords="1736,776,1912,803"/>
<area shape="rect"  href="main_8c.html#a8addc398c08945b966145d07787999b2" title=" " alt="" coords="1517,95,1675,137"/>
<area shape="rect"  href="main_8c.html#a015f20f6e8d5c353e869f72255e15723" title=" " alt="" coords="1984,153,2127,194"/>
<area shape="rect"  href="main_8c.html#ad88ad31cb7c92007dc9656c377d6fe4b" title=" " alt="" coords="1973,219,2137,245"/>
<area shape="rect"  href="terminal_8c.html#a0384b7bab8b4e7766aa54f671c7a3acf" title=" " alt="" coords="1317,827,1403,853"/>
<area shape="rect"  href="terminal_8c.html#ad3b9b2a94f8df51f2479456a771b48c5" title=" " alt="" coords="1072,877,1216,904"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="1759,405,1889,432"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="1960,421,2151,448"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2002,472,2109,499"/>
<area shape="rect"  href="terminal_8c.html#afaa75422253c8473b34bf7f5758c9008" title=" " alt="" coords="1537,928,1655,955"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="1537,388,1655,415"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="1280,400,1440,427"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1118,472,1170,499"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="872,776,964,803"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="647,827,698,853"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="820,421,1016,448"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="631,573,714,600"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="855,168,981,195"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="834,320,1002,347"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="367,624,533,651"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="835,675,1001,701"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="837,219,999,245"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="812,269,1024,296"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="832,573,1004,600"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="852,472,984,499"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="619,371,726,397"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="398,523,502,549"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="393,421,507,448"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="605,269,741,296"/>
<area shape="rect"  href="autotune_8c.html#ad9235db23bece1366339da9a423d880a" title=" " alt="" coords="419,371,481,397"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="190,523,297,549"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="385,675,515,701"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="207,371,279,397"/>
<area shape="rect"  href="autotune_8c.html#a947f89f8de260d6c32e8b003c79ce2c7" title=" " alt="" coords="5,371,120,397"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="17,523,108,549"/>
<area shape="rect"  href="opencl_8c.html#ad74b845ad0c7ef8fb27e99d419a708a0" title=" " alt="" coords="413,269,487,296"/>
<area shape="rect"  href="opencl_8c.html#a402aef449e3c6488d863902358dd0b1d" title=" " alt="" coords="389,219,511,245"/>
<area shape="rect"  href="opencl_8c.html#a25858ed9c49bd2972bb375ec8190c2ba" title=" " alt="" coords="168,135,319,161"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="617,675,728,701"/>
<area shape="rect"  href="opencl_8c.html#a6e6cfbf2cffcded725be07e5f854ba2e" title=" " alt="" coords="581,152,764,179"/>
<area shape="rect"  href="opencl_8c.html#a36f294a1988a5ff960fa09c9c68de75d" title=" " alt="" coords="593,203,752,245"/>
<area shape="rect"  href="opencl_8c.html#ade369d76f252c3c3a33a2ffed95c5824" title=" " alt="" coords="623,776,722,803"/>
</map>
</div>

</div>
</div>
<a id="a877ef3a9a9b656d3be748c75c5e29ec4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a877ef3a9a9b656d3be748c75c5e29ec4">&#9670;&nbsp;</a></span>event_log_info_nn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t event_log_info_nn </td>
          <td>(</td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00063">63</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  va_list ap;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  va_start (ap, fmt);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  event_ctx-&gt;msg_len = <a class="code" href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a> (fmt, ap, event_ctx-&gt;msg_buf, HCBUFSIZ_TINY - 1);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  event_ctx-&gt;msg_buf[event_ctx-&gt;msg_len] = 0;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  va_end (ap);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  event_ctx-&gt;msg_newline = <span class="keyword">false</span>;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <a class="code" href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a> (EVENT_LOG_INFO, hashcat_ctx, NULL, 0);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <span class="keywordflow">return</span> event_ctx-&gt;msg_len;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;}</div><div class="ttc" id="event_8c_html_a6221c6caa1d2069ad1c3103f0b013ef7"><div class="ttname"><a href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a></div><div class="ttdeci">static int void event_call(const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00013">event.c:13</a></div></div>
<div class="ttc" id="event_8c_html_ad5a30ac9dc4301540e19643500eb78e4"><div class="ttname"><a href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a></div><div class="ttdeci">static int event_log(const char *fmt, va_list ap, char *s, const size_t sz) __attribute__((format(printf</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00058">event.c:58</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="event_8c_source.html#l00013">event_call()</a>, and <a class="el" href="event_8c_source.html#l00058">event_log()</a>.</p>

<p class="reference">Referenced by <a class="el" href="terminal_8c_source.html#l00063">goodbye_screen()</a>, <a class="el" href="main_8c_source.html#l00509">main_bitmap_init_post()</a>, <a class="el" href="main_8c_source.html#l00500">main_bitmap_init_pre()</a>, <a class="el" href="main_8c_source.html#l00203">main_cracker_starting()</a>, <a class="el" href="main_8c_source.html#l00737">main_hashlist_count_lines_post()</a>, <a class="el" href="main_8c_source.html#l00726">main_hashlist_count_lines_pre()</a>, <a class="el" href="main_8c_source.html#l00748">main_hashlist_parse_hash()</a>, <a class="el" href="main_8c_source.html#l00778">main_hashlist_sort_hash_post()</a>, <a class="el" href="main_8c_source.html#l00769">main_hashlist_sort_hash_pre()</a>, <a class="el" href="main_8c_source.html#l00814">main_hashlist_sort_salt_post()</a>, <a class="el" href="main_8c_source.html#l00805">main_hashlist_sort_salt_pre()</a>, <a class="el" href="main_8c_source.html#l00796">main_hashlist_unique_hash_post()</a>, <a class="el" href="main_8c_source.html#l00787">main_hashlist_unique_hash_pre()</a>, <a class="el" href="main_8c_source.html#l00473">main_opencl_session_post()</a>, <a class="el" href="main_8c_source.html#l00464">main_opencl_session_pre()</a>, <a class="el" href="main_8c_source.html#l00317">main_potfile_remove_parse_post()</a>, <a class="el" href="main_8c_source.html#l00308">main_potfile_remove_parse_pre()</a>, <a class="el" href="main_8c_source.html#l00491">main_weak_hash_post()</a>, <a class="el" href="main_8c_source.html#l00482">main_weak_hash_pre()</a>, and <a class="el" href="main_8c_source.html#l00707">main_wordlist_cache_generate()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_a877ef3a9a9b656d3be748c75c5e29ec4_cgraph.gif" border="0" usemap="#event_8c_a877ef3a9a9b656d3be748c75c5e29ec4_cgraph" alt=""/></div>
<map name="event_8c_a877ef3a9a9b656d3be748c75c5e29ec4_cgraph" id="event_8c_a877ef3a9a9b656d3be748c75c5e29ec4_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,129,57"/>
<area shape="rect"  href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7" title=" " alt="" coords="177,5,256,32"/>
<area shape="rect"  href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4" title=" " alt="" coords="179,56,255,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_a877ef3a9a9b656d3be748c75c5e29ec4_icgraph.gif" border="0" usemap="#event_8c_a877ef3a9a9b656d3be748c75c5e29ec4_icgraph" alt=""/></div>
<map name="event_8c_a877ef3a9a9b656d3be748c75c5e29ec4_icgraph" id="event_8c_a877ef3a9a9b656d3be748c75c5e29ec4_icgraph">
<area shape="rect"  title=" " alt="" coords="1440,570,1564,597"/>
<area shape="rect"  href="terminal_8c.html#a1d7b71945c3adb1a5474f7befc048192" title=" " alt="" coords="1048,12,1165,38"/>
<area shape="rect"  href="main_8c.html#a32267a9babef2011cb79b27389761e15" title=" " alt="" coords="1227,129,1379,156"/>
<area shape="rect"  href="main_8c.html#ad3627f8345a7b1bc960aafdef1f2f0ef" title=" " alt="" coords="1230,180,1375,206"/>
<area shape="rect"  href="main_8c.html#a8c9b1c83b7606323b8301c9d23bc634f" title=" " alt="" coords="1227,230,1378,257"/>
<area shape="rect"  href="main_8c.html#aa8d4b6fa908a9962722ea52e249382a4" title=" " alt="" coords="1232,282,1373,323"/>
<area shape="rect"  href="main_8c.html#a4148cb046224f2fbc2a6422cc2fc3efb" title=" " alt="" coords="1232,347,1373,388"/>
<area shape="rect"  href="main_8c.html#acb10729db6d7d5a1387d42b140975389" title=" " alt="" coords="1215,413,1391,440"/>
<area shape="rect"  href="main_8c.html#a2a02ef79c93a9cd89523098097df0d63" title=" " alt="" coords="1237,464,1368,506"/>
<area shape="rect"  href="main_8c.html#ad7c2c247c826d9abdffd67a00f5140ab" title=" " alt="" coords="1237,530,1368,571"/>
<area shape="rect"  href="main_8c.html#ad3f12125746060567fbac4c53a365d71" title=" " alt="" coords="1237,595,1368,636"/>
<area shape="rect"  href="main_8c.html#a0e6b752854a0c3a5499f94182894fa70" title=" " alt="" coords="1237,660,1368,702"/>
<area shape="rect"  href="main_8c.html#aa5d28006dcbb9337d16eba43c134f0dc" title=" " alt="" coords="1229,726,1376,767"/>
<area shape="rect"  href="main_8c.html#ad44cf972b0467fc9ce68a2e045792849" title=" " alt="" coords="1229,791,1376,832"/>
<area shape="rect"  href="main_8c.html#ade3d07fe437c59af15d5d95a2bdbaf49" title=" " alt="" coords="1213,857,1392,884"/>
<area shape="rect"  href="main_8c.html#a6f09e4d5077ee9455ca3f3fdfa7cd2d5" title=" " alt="" coords="1217,908,1389,934"/>
<area shape="rect"  href="main_8c.html#a10ed4ad50d5a29f3df3d2e11b2b81a1c" title=" " alt="" coords="1233,959,1372,1000"/>
<area shape="rect"  href="main_8c.html#a53b0019b05d5daabf258fcb71bc080b9" title=" " alt="" coords="1233,1024,1372,1066"/>
<area shape="rect"  href="main_8c.html#a7b3f4dbebb06dc8b76a13f5952450aba" title=" " alt="" coords="1225,1090,1380,1117"/>
<area shape="rect"  href="main_8c.html#a5f8ae302e96db42897362b72268556be" title=" " alt="" coords="1229,1141,1376,1168"/>
<area shape="rect"  href="main_8c.html#a015f20f6e8d5c353e869f72255e15723" title=" " alt="" coords="1231,63,1374,104"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="623,12,674,38"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1081,602,1133,629"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="848,121,940,148"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="796,517,992,544"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="607,636,690,662"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="831,821,957,848"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="810,332,978,358"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="343,720,509,746"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="811,770,977,797"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="813,872,975,898"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="788,230,1000,257"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="808,568,980,594"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="828,618,960,645"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="595,484,702,510"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="374,618,478,645"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="369,568,483,594"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="581,332,717,358"/>
<area shape="rect"  href="autotune_8c.html#ad9235db23bece1366339da9a423d880a" title=" " alt="" coords="395,517,457,544"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="166,618,273,645"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="361,770,491,797"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="183,517,255,544"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="5,618,96,645"/>
<area shape="rect"  href="opencl_8c.html#ad74b845ad0c7ef8fb27e99d419a708a0" title=" " alt="" coords="389,416,463,442"/>
<area shape="rect"  href="opencl_8c.html#a402aef449e3c6488d863902358dd0b1d" title=" " alt="" coords="365,314,487,341"/>
<area shape="rect"  href="opencl_8c.html#a25858ed9c49bd2972bb375ec8190c2ba" title=" " alt="" coords="144,222,295,249"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="593,770,704,797"/>
<area shape="rect"  href="opencl_8c.html#a6e6cfbf2cffcded725be07e5f854ba2e" title=" " alt="" coords="557,214,740,241"/>
<area shape="rect"  href="opencl_8c.html#a36f294a1988a5ff960fa09c9c68de75d" title=" " alt="" coords="569,266,728,307"/>
<area shape="rect"  href="opencl_8c.html#ade369d76f252c3c3a33a2ffed95c5824" title=" " alt="" coords="599,922,698,949"/>
</map>
</div>

</div>
</div>
<a id="a10cc0b2c8645313456053b9427b6e802"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10cc0b2c8645313456053b9427b6e802">&#9670;&nbsp;</a></span>event_log_warning()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t event_log_warning </td>
          <td>(</td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00147">147</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;{</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;  va_list ap;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;  va_start (ap, fmt);</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;  event_ctx-&gt;msg_len = <a class="code" href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a> (fmt, ap, event_ctx-&gt;msg_buf, HCBUFSIZ_TINY - 1);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;  event_ctx-&gt;msg_buf[event_ctx-&gt;msg_len] = 0;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  va_end (ap);</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;  event_ctx-&gt;msg_newline = <span class="keyword">true</span>;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;  <a class="code" href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a> (EVENT_LOG_WARNING, hashcat_ctx, NULL, 0);</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;  <span class="keywordflow">return</span> event_ctx-&gt;msg_len;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;}</div><div class="ttc" id="event_8c_html_a6221c6caa1d2069ad1c3103f0b013ef7"><div class="ttname"><a href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a></div><div class="ttdeci">static int void event_call(const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00013">event.c:13</a></div></div>
<div class="ttc" id="event_8c_html_ad5a30ac9dc4301540e19643500eb78e4"><div class="ttname"><a href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a></div><div class="ttdeci">static int event_log(const char *fmt, va_list ap, char *s, const size_t sz) __attribute__((format(printf</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00058">event.c:58</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="event_8c_source.html#l00013">event_call()</a>, and <a class="el" href="event_8c_source.html#l00058">event_log()</a>.</p>

<p class="reference">Referenced by <a class="el" href="restore_8c_source.html#l00283">cycle_restore()</a>, <a class="el" href="hashes_8c_source.html#l00442">hashes_init_stage1()</a>, <a class="el" href="hwmon_8c_source.html#l01347">hm_XNVCTRL_get_fan_control()</a>, <a class="el" href="rp_8c_source.html#l00713">kernel_rules_load()</a>, <a class="el" href="main_8c_source.html#l00599">main_monitor_performance_hint()</a>, <a class="el" href="main_8c_source.html#l00651">main_monitor_runtime_limit()</a>, <a class="el" href="main_8c_source.html#l00532">main_monitor_throttle1()</a>, <a class="el" href="main_8c_source.html#l00554">main_monitor_throttle2()</a>, <a class="el" href="main_8c_source.html#l00576">main_monitor_throttle3()</a>, <a class="el" href="mpsp_8c_source.html#l00988">mask_ctx_update_loop()</a>, <a class="el" href="opencl_8c_source.html#l02235">opencl_ctx_devices_init()</a>, <a class="el" href="opencl_8c_source.html#l03014">opencl_ctx_devices_update_power()</a>, <a class="el" href="opencl_8c_source.html#l03129">opencl_session_begin()</a>, <a class="el" href="restore_8c_source.html#l00156">read_restore()</a>, <a class="el" href="thread_8c_source.html#l00217">stop_at_checkpoint()</a>, and <a class="el" href="tuningdb_8c_source.html#l00053">tuning_db_init()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_a10cc0b2c8645313456053b9427b6e802_cgraph.gif" border="0" usemap="#event_8c_a10cc0b2c8645313456053b9427b6e802_cgraph" alt=""/></div>
<map name="event_8c_a10cc0b2c8645313456053b9427b6e802_cgraph" id="event_8c_a10cc0b2c8645313456053b9427b6e802_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,132,57"/>
<area shape="rect"  href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7" title=" " alt="" coords="180,5,259,32"/>
<area shape="rect"  href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4" title=" " alt="" coords="181,56,257,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_a10cc0b2c8645313456053b9427b6e802_icgraph.gif" border="0" usemap="#event_8c_a10cc0b2c8645313456053b9427b6e802_icgraph" alt=""/></div>
<map name="event_8c_a10cc0b2c8645313456053b9427b6e802_icgraph" id="event_8c_a10cc0b2c8645313456053b9427b6e802_icgraph">
<area shape="rect"  title=" " alt="" coords="1469,700,1596,727"/>
<area shape="rect"  href="restore_8c.html#af364f24c8e1caeca6abb27bbc4394b35" title=" " alt="" coords="1268,780,1368,807"/>
<area shape="rect"  href="hashes_8c.html#aa009c18f9bedd6179e77e24c5752807e" title=" " alt="" coords="525,828,660,855"/>
<area shape="rect"  href="hwmon_8c.html#a70b415a7057efa0ef21dd6a8a36a7fe1" title=" " alt="" coords="1241,983,1395,1025"/>
<area shape="rect"  href="rp_8c.html#aa6469718fd777a2a8efad529bb626c9e" title=" " alt="" coords="1257,612,1379,639"/>
<area shape="rect"  href="main_8c.html#a81e677be48184cc3faa78714c5a01d72" title=" " alt="" coords="1215,511,1421,537"/>
<area shape="rect"  href="opencl_8c.html#a25858ed9c49bd2972bb375ec8190c2ba" title=" " alt="" coords="517,613,668,640"/>
<area shape="rect"  href="main_8c.html#ae7a8d2980fee327d884b414eeba9ffd5" title=" " alt="" coords="1243,293,1393,334"/>
<area shape="rect"  href="main_8c.html#a34dc58a412cf235a16ca6236abe13e8a" title=" " alt="" coords="1241,359,1395,385"/>
<area shape="rect"  href="main_8c.html#af4dfd3b68c576941d9af849584e56ceb" title=" " alt="" coords="1241,409,1395,436"/>
<area shape="rect"  href="main_8c.html#a42a84f3c9beb52724b302e6192604dc0" title=" " alt="" coords="1241,460,1395,487"/>
<area shape="rect"  href="mpsp_8c.html#a0bc1fdc7efaa7d7cb8d83aea4a87e02e" title=" " alt="" coords="1240,729,1396,756"/>
<area shape="rect"  href="opencl_8c.html#a3d3f2e16deeb5c4ce2ce3fa8e5c99245" title=" " alt="" coords="992,881,1151,908"/>
<area shape="rect"  href="opencl_8c.html#a3428754212e25503a5574076990a6c3b" title=" " alt="" coords="1251,663,1385,705"/>
<area shape="rect"  href="restore_8c.html#a44cd79561fcbfddf15251f93e61b96de" title=" " alt="" coords="1271,932,1365,959"/>
<area shape="rect"  href="thread_8c.html#a407cd4a9b55c6835837fbcaa2a85c8c1" title=" " alt="" coords="1251,1100,1385,1127"/>
<area shape="rect"  href="tuningdb_8c.html#a82500a48411a912fa748e692dbafa187" title=" " alt="" coords="1020,1049,1123,1076"/>
<area shape="rect"  href="monitor_8c.html#a6070c1efbb12309f3d3504ccd1f6ca3d" title=" " alt="" coords="1039,780,1104,807"/>
<area shape="rect"  href="monitor_8c.html#ab9ac4a7731cf2a12f37be8fcdaa38a43" title=" " alt="" coords="539,769,647,796"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="356,696,439,723"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,659,277,685"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,583,56,609"/>
<area shape="rect"  href="hwmon_8c.html#ad08ecd1852396ddf397919a2b1e26fae" title=" " alt="" coords="995,983,1148,1025"/>
<area shape="rect"  href="hwmon_8c.html#ad6cc7a26798f12a053c75ed5158fb73d" title=" " alt="" coords="753,983,891,1025"/>
<area shape="rect"  href="hwmon_8c.html#a6db48ad4f8b9c42fb1eab2a8341bb85d" title=" " alt="" coords="537,983,649,1009"/>
<area shape="rect"  href="hwmon_8c.html#ae8452e58e555df1866df8f73f23eafb8" title=" " alt="" coords="523,1033,662,1060"/>
<area shape="rect"  href="hashcat_8c.html#a9f3f1b757bdc2a874b4bb0dc657bde1d" title=" " alt="" coords="325,932,469,959"/>
<area shape="rect"  href="straight_8c.html#ac38042838c02bcb1ca4b24b87047b34d" title=" " alt="" coords="1014,637,1129,664"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1045,359,1097,385"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="145,487,237,513"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="724,411,920,437"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="551,81,634,108"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="759,157,885,184"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="738,563,906,589"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="739,208,905,235"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="739,259,905,285"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="741,309,903,336"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="716,360,928,387"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="736,107,908,133"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="756,5,888,32"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="539,411,646,437"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="541,309,645,336"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="535,360,650,387"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="525,512,661,539"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="1027,715,1115,741"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="549,715,637,741"/>
<area shape="rect"  href="restore_8c.html#a1df95aadfb011851b43c7299c91851c1" title=" " alt="" coords="1016,932,1127,959"/>
<area shape="rect"  href="hashcat_8c.html#a5fe6c59c3a8bc3fa868e98390dc90082" title=" " alt="" coords="976,1100,1167,1127"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="1034,1151,1109,1177"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="763,1151,881,1177"/>
</map>
</div>

</div>
</div>
<a id="ae538bdc88c1a895fbe9d31f11f6db6c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae538bdc88c1a895fbe9d31f11f6db6c1">&#9670;&nbsp;</a></span>event_log_warning_nn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t event_log_warning_nn </td>
          <td>(</td>
          <td class="paramtype">hashcat_ctx_t *&#160;</td>
          <td class="paramname"><em>hashcat_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="event_8c_source.html#l00084">84</a> of file <a class="el" href="event_8c_source.html">event.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;{</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  va_list ap;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  va_start (ap, fmt);</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  event_ctx_t *event_ctx = hashcat_ctx-&gt;event_ctx;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  event_ctx-&gt;msg_len = <a class="code" href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a> (fmt, ap, event_ctx-&gt;msg_buf, HCBUFSIZ_TINY - 1);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  event_ctx-&gt;msg_buf[event_ctx-&gt;msg_len] = 0;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  va_end (ap);</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  event_ctx-&gt;msg_newline = <span class="keyword">false</span>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;  <a class="code" href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a> (EVENT_LOG_WARNING, hashcat_ctx, NULL, 0);</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="keywordflow">return</span> event_ctx-&gt;msg_len;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;}</div><div class="ttc" id="event_8c_html_a6221c6caa1d2069ad1c3103f0b013ef7"><div class="ttname"><a href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7">event_call</a></div><div class="ttdeci">static int void event_call(const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00013">event.c:13</a></div></div>
<div class="ttc" id="event_8c_html_ad5a30ac9dc4301540e19643500eb78e4"><div class="ttname"><a href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4">event_log</a></div><div class="ttdeci">static int event_log(const char *fmt, va_list ap, char *s, const size_t sz) __attribute__((format(printf</div><div class="ttdef"><b>Definition:</b> <a href="event_8c_source.html#l00058">event.c:58</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="event_8c_source.html#l00013">event_call()</a>, and <a class="el" href="event_8c_source.html#l00058">event_log()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="event_8c_ae538bdc88c1a895fbe9d31f11f6db6c1_cgraph.gif" border="0" usemap="#event_8c_ae538bdc88c1a895fbe9d31f11f6db6c1_cgraph" alt=""/></div>
<map name="event_8c_ae538bdc88c1a895fbe9d31f11f6db6c1_cgraph" id="event_8c_ae538bdc88c1a895fbe9d31f11f6db6c1_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,153,57"/>
<area shape="rect"  href="event_8c.html#a6221c6caa1d2069ad1c3103f0b013ef7" title=" " alt="" coords="201,5,280,32"/>
<area shape="rect"  href="event_8c.html#ad5a30ac9dc4301540e19643500eb78e4" title=" " alt="" coords="203,56,279,83"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
